CF_ObjMerge Documentation v1.0
by Dan G. Switzer, II
<CF_ObjMerge> will merge multiple CF-based objects into one structure. With this tag you can merge queries, arrays, structures and any other valid ColdFusion variable into a single object. The object is stored as a structure and each key of the structure contains the value of the merged data.
This tag will help you to create WDDX packets by merging all the different data types into a single data type. It's also a great add-on when used in conjunction with <CF_ObjDump>which is a tool for display a tree of any valid CF-based object.
CF_ObjMerge requires the following:
To install CF_ObjMerge, do the following:
Below is a listing of each attribute and an in-depth description
of what the attribute is.
Attribute | Description | |
OBJECTS | A comma-delimited list of all the objects you'd like to merge into a single object. If any of the objects are invalid an error message will be returned. By default, CF_ObjMerge will create a list of objects based upon scopes that CF returns as structuresthis makes easy to create a single structure which contains all valid variables accessible to the current script. This in combination with <CF_ObjDump> makes it very easy to debug applications. | |
OUTPUT | This attribute is used to define the name of the object to be returned to the calling template. The default variable returned is "cfObjMerge". |
<CF_ObjMerge OBJECTS="QueryName,ArrayName" OUTPUT="NewObject" >This would create a structure named "NewObject" containing 2 keysQueryName and ArrayName. The QueryName key would contain the results of the query "QueryName" and ArrayName key would contain the contents of the array "ArrayName."
<CF_ObjMerge>This would create a structure named "cfObjMerge" which contains a key for each CF scope which is defined as a structure. In CF4.5, all scopesexcept the client and server scopesare returned as structures.
Listed below is the revision history for CF_ObjMerge. Please make sure to read this
thoroughly before replacing older version of CF_ObjMerge.
v1.0 | |
| First public release. |
CF_EzPassword is not guarenteed to work with every server. I have taken every precaution to make sure that CF_EzPassword works with every version of ColdFusion (version 4+ and higher) on the NT platform.
Before using CF_EzPassword for the first time, be sure that you read the below agreement. Use of CF_EzPassword implies that you have read and agreed to the below statments.
Risk of Use No Warranty Limitation on Liability |